import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lsicon:order-outline',
      order: 1,
      title: 'Brief管理',
    },
    name: 'Briefs',
    path: '/briefs',
    children: [
      {
        name: 'BriefsList',
        path: '/briefs-list',
        component: () => import('#/views/briefs/list/index.vue'),
        meta: {
          icon: 'gg:list',
          title: 'Brief列表',
        },
      },
      {
        name: 'BriefsKol',
        path: '/briefs-kol',
        component: () => import('#/views/briefs/kol/index.vue'),
        meta: {
          icon: 'mdi:message-bubble-outline',
          title: 'Kol反馈质检',
        },
      },
    ],
  },
];

export default routes;
